$OpenBSD: patch-src_af_xap_gtk_xap_UnixFrameImpl_h,v 1.1 2017/04/13 09:54:38 ajacoutot Exp $

commit 2ee38d1881aeea27bb49acc450631d813d1f28ba
Author: Hubert Figuière <hub@figuiere.net>
Date:   Wed Dec 7 09:44:01 2016 -0500
Bug 13815 - draw event should return TRUE
This fix the black drawing regression witj Gtk3.22

--- src/af/xap/gtk/xap_UnixFrameImpl.h.orig	Sun Apr  7 15:53:03 2013
+++ src/af/xap/gtk/xap_UnixFrameImpl.h	Thu Apr 13 11:26:22 2017
@@ -152,9 +152,9 @@ class XAP_UnixFrameImpl : public XAP_FrameImpl (protec
 			static gint key_release_event(GtkWidget* w, GdkEventKey* e);
 			static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/);
 #if GTK_CHECK_VERSION(3,0,0)
-			static gint draw(GtkWidget * w, cairo_t * cr);
+			static gboolean draw(GtkWidget * w, cairo_t * cr);
 #else
-			static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
+			static gboolean expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
 #endif
 			static gint do_ZoomUpdate( gpointer /* xap_UnixFrame * */ p);
 			static void vScrollChanged(GtkAdjustment * w, gpointer /*data*/);
